#! /bin/sh

cvlc -vvv "$1" --sout-x264-keyint=30 --sout-ts-use-key-frames --sout="#transcode{vcodec=h264,venc=x264,vb=512,scale=1,acodec=mp4a,ab=128,channels=2}:standard{access=http,mux=ts,dst=$2}"
